<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>报名成功</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0 maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="__PUBLIC__/weixin/style/reset.css">
<link rel="stylesheet" href="__PUBLIC__/weixin/style/loading.css">
</head>
<body style="background-color:#ededed">
<div  id="page1">
<div id="success">
<img class="apply1_i1" src="__PUBLIC__/weixin/images/logo.png" alt="">
<div class="xinxi">报名成功</div>
<div style="width:100%; text-align:center">
<img class="succ_bg" style=" margin-left:5%; margin-top:30px" src="__PUBLIC__/weixin/images/success.png" alt="">
</div>
<h1>报名成功</h1>
<h2 onClick="javascript:window.location='__URL__/individual_center'">获得30积分</h2>
<p>辛苦，报名已成功！<br/>系统已向您的邮箱发送报名成功确认邮件，敬请查询并关注下一步评选进程。</p>
<a href="javascript:void(0)" onClick="ShowWeiXinShareTips('#page1')">
    <div id="Save_Game3" style="margin-top:40px">
        <img class="weix" src="__PUBLIC__/weixin/images/friends.png" alt="">快邀其他企业报名
    </div>
</a>
<br/><br/>
<small style="margin-left:70%; color:#CCC">邀请可积分</small>
<br/><br/>
</div>
</div>
</body>
</html>
<script src="http://cdn.bootcss.com/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
function ShowWeiXinShareTips(page) {
	var div = '<div id="WeiXinShareTips" onclick="javascript:this.remove()" style="position: absolute;z-index: 1000;left: 0; top: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, .6);position: fixed; right:0"><img src="http://www.subaoming.cn/xiaoju/Public/Images/9.png" style="float:right" width="165"/></div>';
	$(page).append(div);
}
document.addEventListener("WeixinJSBridgeReady",function() {
	WeixinJSBridge.call("hideToolbar");
});
var herf=document.location.href;
var dataForWeixin = {
    appId: "",
    MsgImg:"http://www.subaoming.cn/zhilian/Public/weixin/images/zjgzfx_03.jpg",
    TLImg: "http://www.subaoming.cn/zhilian/Public/weixin/images/zjgzfx_03.jpg",
    url: "http://www.subaoming.cn/zhilian/index.php/Index/sign_success",
    title: "我已成功报名2014中国年度最佳雇主",
    desc: "微信报名，快来试试！",
    fakeid: "",
    callback: function() {
		
	}
}; 
(function() {
    var onBridgeReady = function() {
        WeixinJSBridge.on('menu:share:appmessage',
        function(argv) {
            WeixinJSBridge.invoke('sendAppMessage', {
                "appid": dataForWeixin.appId,
                "img_url": dataForWeixin.MsgImg,
                "img_width": "120",
                "img_height": "120",
                "link": dataForWeixin.url,
                "desc": dataForWeixin.desc,
                "title": dataForWeixin.title
            },
            function(res) { (dataForWeixin.callback)()
            })
        });
        WeixinJSBridge.on('menu:share:timeline',
        function(argv) { (dataForWeixin.callback)();
            WeixinJSBridge.invoke('shareTimeline', {
                "img_url": dataForWeixin.TLImg,
                "img_width": "120",
                "img_height": "120",
                "link": dataForWeixin.url,
                "desc": dataForWeixin.desc,
                "title": dataForWeixin.title
            },
            function(res) {})
        });
        WeixinJSBridge.on('menu:share:weibo',
        function(argv) {
            WeixinJSBridge.invoke('shareWeibo', {
                "content": dataForWeixin.title,
                "url": dataForWeixin.url
            },
            function(res) { (dataForWeixin.callback)()
            })
        });
        WeixinJSBridge.on('menu:share:facebook',
        function(argv) { (dataForWeixin.callback)();
            WeixinJSBridge.invoke('shareFB', {
                "img_url": dataForWeixin.TLImg,
                "img_width": "120",
                "img_height": "120",
                "link": dataForWeixin.url,
                "desc": dataForWeixin.desc,
                "title": dataForWeixin.title
            },
            function(res) {})
        })
    };
    if (document.addEventListener) {
        document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false)
    } else if (document.attachEvent) {
        document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
        document.attachEvent('onWeixinJSBridgeReady', onBridgeReady)
    }
})();
</script>
